#include "./controller/APP.h"
#include "./controller/MenuController.h"
#include "./view/MenuView.h"
#include "./model/StageParser.h"


int main(int argc, char* args[])
{
	Log::getInstance()->write(Log::INFO, "--- INICIO WORMS APP ---");
	StageParser::getInstance()->parseYAMLStage(argc, args);

	MenuController* menuController = new MenuController();
	APP* app = new APP(menuController);

	int result = app->start();

	delete app;
	Log::getInstance()->write(Log::INFO, "*** FIN WORMS APP ***");

	return result;
}